﻿using System;
using Illusion.Component;
using UnityEngine;

namespace Illusion.Extensions
{
	// Token: 0x020002FC RID: 764
	internal static class DontDestroyParentExtensions
	{
		// Token: 0x06001390 RID: 5008 RVA: 0x0008BB6C File Offset: 0x00089D6C
		public static void DontDestroyOnNextLoad(this GameObject _, GameObject target)
		{
			DontDestroyParent.Register(target);
		}

		// Token: 0x06001391 RID: 5009 RVA: 0x0008BB74 File Offset: 0x00089D74
		public static void DontDestroyOnNextLoad(this GameObject _, MonoBehaviour target)
		{
			DontDestroyParent.Register(target);
		}

		// Token: 0x06001392 RID: 5010 RVA: 0x0008BB7C File Offset: 0x00089D7C
		public static void DontDestroyOnNextLoad(this MonoBehaviour _, GameObject target)
		{
			DontDestroyParent.Register(target);
		}

		// Token: 0x06001393 RID: 5011 RVA: 0x0008BB84 File Offset: 0x00089D84
		public static void DontDestroyOnNextLoad(this MonoBehaviour _, MonoBehaviour target)
		{
			DontDestroyParent.Register(target);
		}
	}
}
